package com.yaorange.jk.service;

import com.yaorange.jk.entity.Invoice;
import com.yaorange.jk.utils.Pagination;

import java.util.List;

public interface InvoiceService {
Pagination findPage(Pagination pageNo);

List<Invoice> findAll();

    void save(Invoice model);

    Invoice findById(String id);

    void update(Invoice model);

    void deleteById(String id);

	void invoice(Invoice invoice);

	Pagination findPage(Pagination page, double d);

	void cancel(Invoice invoice);
}
